﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="BannerAdd.ascx.cs" Inherits="AdminX_Banner_BannerAdd" %>
<%@ Register Src="../../Common/Alert.ascx" TagName="Alert" TagPrefix="uc1" %>
<%@ Register Src="../../Common/Textbox.ascx" TagName="Textbox" TagPrefix="uc2" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>

<div class="tab_content">                                       
    <div class="formEl_b">	           
        <fieldset>
            <div class="clear"></div>
            <div class="left-field">
                <div class="section ">
                    <asp:Label ID="lblLanguage" runat="server"></asp:Label>
                    <asp:DropDownList ID="ddlLanguage" runat="server" CssClass="boxnormal" AutoPostBack="true" OnSelectedIndexChanged="ddlLanguage_SelectedIndexChanged"></asp:DropDownList>
                </div> 
                
                <div class="section ">
                    <asp:Label ID="lblType" runat="server"></asp:Label>
                    <asp:DropDownList ID="ddlType" runat="server">
                        <asp:ListItem Value="1">Main Banner</asp:ListItem>
                    </asp:DropDownList>
                </div>
                
                <div class="section ">
                    <asp:Label ID="lblTitle" runat="server" ></asp:Label>
                    <asp:TextBox ID="txtTitle" runat="server" CssClass="large"  ValidationGroup="Input"></asp:TextBox>
                </div> 
                
                <div class="section ">
                    <asp:Label ID="lblColorCode" runat="server"></asp:Label>
                    <asp:TextBox ID="txtTitleColorCode" runat="server" CssClass="xsmall" MaxLength="6"></asp:TextBox>
                </div>
                <div class="section numericonly">
                    <asp:Label ID="lblFontSize" runat="server"></asp:Label>
                    <asp:TextBox ID="txtTitleFontSize" runat="server" CssClass="smalls" MaxLength="2"></asp:TextBox><small style="font-weight:bold">&nbsp;px</small>
                </div>   
                
                <div class="section ">
                    <asp:Label ID="lblImage" runat="server" ></asp:Label>
                    <input type="file" class="fileupload" id="iptImage" runat="server"/>
                </div>  
            </div>
            <div class="right-field">
                <div class="section">&nbsp;</div>
                <div class="section">
                    <div class="sortable" >                    
                        <div class="albumImage">                      
                            <div class="picHolder">
                                <span class="image_highlight"></span><!--// Highlight Images -->
                                <asp:HyperLink ID="urlImg" runat="server" rel="glr"></asp:HyperLink>
                                <asp:Image ID="imgImage" runat="server" CssClass="size" /><!--//  Images -->
                                <div class="picTitle" style="display: block;"><asp:Label ID="lbimg" runat="server" Text="Label"></asp:Label></div>
                         
                            </div>  
                        </div>                 
                    </div>

                </div>
            </div>
            <div class="clear"></div>    
            <div class="section ">
                <asp:Label ID="lblInitContent" runat="server"></asp:Label>
                <asp:TextBox ID="txtInitContent" runat="server" CssClass="large" MaxLength="1999" TextMode="MultiLine" ValidationGroup="Input"></asp:TextBox>
            </div>



            <div class="section ">
                <asp:Label ID="lblColorCodeIniCnt" runat="server"></asp:Label>
                <asp:TextBox ID="txtInitContentColorCode" runat="server" CssClass="xsmall" MaxLength="6"></asp:TextBox>
            </div>

            <div class="section numericonly">
                <asp:Label ID="lblFontSizeInitialContent" runat="server"></asp:Label>
                <asp:TextBox ID="txtInitContentFontSize" runat="server" CssClass="smalls" MaxLength="2"></asp:TextBox><small style="font-weight:bold">&nbsp;px</small>
            </div>

            <div class="section ">
                <asp:Label ID="lblLink" runat="server" ></asp:Label>
                <asp:TextBox ID="txtLink" runat="server" CssClass="medium" ValidationGroup="Input"></asp:TextBox><small class="note">*</small>
            </div>

            <div class="section-check">
                <ul>
                    <li>
                        <input type="checkbox"  id="chkDisplayOrder"  class="ck" runat="server"/>
                        <asp:Label ID="lbldisplayOrder" runat="server" Text="Label" CssClass="text-lbl"></asp:Label>
                    </li>

                    <li class="numericonly">
                        <asp:TextBox ID="txtPriority" runat="server" CssClass="smalls"></asp:TextBox>
                    </li>
                    <li>
                        <input type="checkbox"  id="chkActive"  class="ck" runat="server" checked="checked"/>
                        <asp:Label ID="lbleActive" runat="server" Text="Label" CssClass="text-lbl"></asp:Label>
                    </li>
                </ul>
                                     
            </div>
            <div class="clear"></div>
            <br />
            <div class="section-check">
                <asp:LinkButton ID="btnSave" runat="server" onclick="btnSave_Click1" CssClass="uibutton " ValidationGroup="Input"></asp:LinkButton>
                <asp:LinkButton ID="btnCancel" runat="server" CssClass="uibutton special" onclick="btnCancel_Click"></asp:LinkButton>        
            </div>
        </fieldset>
    </div>
</div>



<asp:RequiredFieldValidator ID="rfvTitle" runat="server" SetFocusOnError="true" ControlToValidate="txtTitle" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="rfvInitContent" runat="server" SetFocusOnError="true" ControlToValidate="txtInitContent" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="rfvLink" runat="server" SetFocusOnError="true" ControlToValidate="txtLink" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="rfvImage" runat="server" SetFocusOnError="true" ControlToValidate="iptImage" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<asp:ValidationSummary ID="ValidationSummary4" ShowMessageBox="true" runat="server" ValidationGroup="Input" ShowSummary="False" />